#include<iostream>
#include"reverse_iterator.h"
#include<vector>
using namespace std;
using namespace struggle;

void text1()
{
	vector<int> v;
	v.push_back(1);
	v.push_back(2);
	v.push_back(3);
	v.push_back(4);
	v.push_back(5);
	v.push_back(6);
	v.push_back(7);
	auto it = v.rbegin();
	while (it != v.rend())
	{
		cout << *it << " ";
		++it;
	}
}



int main()
{
	text1();
	return 0;
}